package com.woniu.controller;

import com.woniu.service.MedicalRoomService;
import com.woniu.utils.ResponseUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: zcy
 * @Create: 2025/10/31 14:44
 */
@RestController
@RequestMapping("/medicalRoom")
public class MedicalRoomController {
    @Resource
    private MedicalRoomService medicalRoomService;


    @GetMapping
    public ResponseUtil findAll(){
        return medicalRoomService.findAll();
    }
}
